home *** CD-ROM | disk | FTP | other *** search
/ AOL File Library: 4,101 to 4,200 / aol-file-protocol-4400-4101-to-4200.zip / AOLDLs / Invoice & Inventory / ADIOS_ V8.02 Amway distributors / ADIOS8.exe / INSTALL.BAT < prev    next >
DOS Batch File  |  1996-11-04  |  3KB  |  70 lines

  1. @echo off
  2. rem Copyright (c) 1996 Third Wave Systems, Moline, IL 
  3. :Begin
  4.         cls
  5.         if '%1'=='' goto setup_C
  6.         if %1==c:   goto setup_C
  7.         if %1==C:   goto setup_C
  8.         if %1==d:   goto setup_D
  9.         if %1==D:   goto setup_D
  10.         if %1==/?   goto bad_drive      
  11. :Bad_drive
  12.      cls
  13.      echo         ╔═════════════════════════════════════════════════════════════╗
  14.      echo         ║              adios Invoicing Installation Program           ║
  15.      echo         ╠═════════════════════════════════════════════════════════════╣
  16.      echo         ║             ** Invalid destination drive     **             ║
  17.      echo         ║                                                             ║
  18.      echo         ║   You must specify either C: or D: as the destination_drive ║
  19.      echo         ║                                                             ║
  20.      echo         ║              The correct command line syntax is:            ║
  21.      echo         ║                                                             ║
  22.      echo         ║                                                             ║
  23.      echo         ║                INSTALL destination_drive                    ║
  24.      echo         ║                                                             ║
  25.      echo         ║                INSTALL C:                                   ║
  26.      echo         ║                INSTALL D:                                   ║
  27.      echo         ║                                                             ║
  28.      echo         ║            destination_drive is the hard disk               ║
  29.      echo         ║             want to install to (normally C:)                ║
  30.      echo         ╟─────────────────────────────────────────────────────────────╢
  31.      echo         ║      Copyright (c) 1996 Third Wave Systems, Moline, IL      ║
  32.      echo         ╚═════════════════════════════════════════════════════════════╝
  33.      echo.
  34.      goto Done
  35. :Setup_C
  36.      echo Installing adios Invoicing ... Please Wait.
  37.      md C:\adios >nul
  38.      copy adios8.exe C:\adios
  39.      C:
  40.      cd \adios
  41.      echo .
  42.      Echo Extracting program files, one moment please....
  43.      adios8 
  44.      del d.bat >nul
  45.      del dw.bat >nul
  46.      goto Cleanup
  47.  
  48. :Setup_D
  49.      echo Installing adios Invoicing ... Please Wait.
  50.      md D:\adios >nul
  51.      copy adios8.exe D:\adios
  52.      D:
  53.      cd \adios
  54.      echo .
  55.      Echo Extracting program files, one moment please....
  56.      adios8 
  57.      del adios.bat >nul
  58.      del adiosw.bat >nul
  59.      ren d.bat adios.bat
  60.      ren dw.bat adiosw.bat
  61.      del c.bat >nul
  62.      del cw.bat >nul
  63. :Cleanup     
  64.      del adios8.exe >nul
  65.      del install.bat >nul
  66. :Done
  67.      echo The install has completed. 
  68.      Echo Type in ADIOS to run the program.
  69.      Echo .
  70.